package com.tc.multicast;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;
import java.net.InetSocketAddress;
import java.net.MulticastSocket;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.UnknownHostException;

import com.tc.gateway.tunnel.TunnelClient;
import com.tc.serial.SerialStream;

public class NativeTunnelClient  implements TunnelClient {
	Multicast core;
	InputStream in;
	OutputStream out;
	public NativeTunnelClient() throws IOException{
		core = new Multicast("228.9.6.8",(short)8888,"228.9.6.9",(short)9999, "", (short)10000);
		in = new NativeInputStream(core);
		out = new NativeOutputStream(core);

	}



	public void ClosePort() {
		// TODO Auto-generated method stub

	}

	public InputStream getInputStream() {
		// TODO Auto-generated method stub
		return in;
	}

	public OutputStream getOutputStream() {
		// TODO Auto-generated method stub
		return out;
	}


}
